<!-- Table -->
<div class="row-fluid">
  <div class="span12">
           <!-- Portlet: Browser Usage Graph -->
       <div class="box" id="box-0">
        <h4 class="box-header round-top">Efetivar Matrícula
            <a class="box-btn" title="close"><i class="icon-remove"></i></a>
            <a class="box-btn" title="toggle"><i class="icon-minus"></i></a>
            <a class="box-btn" title="config" data-toggle="modal" href="#box-config-modal"><i class="icon-cog"></i></a>
        </h4>
        <div class="box-container-toggle">
            <div class="box-content">
               <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered bootstrap-datatable" id="datatable">
                    <thead>
                        <tr>
                            <th>Selecionar</th>
                            <th>Nº de inscrição</th>
                            <th>Nome</th>
                            <th>Modalidade</th>
                            <th>Dia</th>
                            <th>Horário</th>
                            <th>Faixa Etária</th>
                            <th>Nível/Categoria</th>
                            <th>Teste</th>
                            <th>Sorteio</th>
                            <th>Vagas disponíveis</th>
                        </tr>
                    </thead>
                    <tbody>
                      <?php
                      foreach($this->data as $entity):
                      ?>
                      <tr>
                          <td class="center"><input type="checkbox" value="<?php echo $entity->getSqTurma()?>" /></td>
                          <td class="center"><?php echo $entity->getCoTurma(); ?></td>
                          <td class="center"><?php echo $entity->getSqModalidadeProfessor()->getSqModalidade()->getNoModalidade(); ?></td>
                          <td class="center"><?php echo $entity->getSqHorarioInicio()->getNoHorario() . " às ". $entity->getSqHorarioTermino()->getNoHorario()?></td>
                          <td class="center"><?php echo $entity->getSqTipoFaixaEtaria()->getNoTipoFaixaEtaria(); ?></td>
                          <td class="center"><?php echo $entity->getNuVaga(); ?></td>
                          <td class="center"><?php echo $entity->getSqNivel()->getNoNivel(); ?></td>
                          <td class="center"><?php echo $entity->getSqSituacaoTurma()->getNoSituacaoTurma(); ?></td>
                          <td class="center">
                              <span class="badge <?php echo ($entity->getInPreTeste()==1)?"badge-success":"" ?>">
                                  <?php echo ($entity->getInPreTeste()==1)?"Sim":"Não";?>
                              </span>
                          </td>
                          <td class="center"><?php echo $entity->getInSemestre()."º/".$entity->getNuAno(); ?></td>
                      </tr>
                      <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
      </div>
  </div>
</div>
<!-- Botão -->
<div class="row-fluid">
    <div class="span12 form-actions pull-right btn-toolbar">
        <button class="btn btn-primary pull-right" type="button" title="Efetivar">Efetivar</button>
    </div>
</div>
<!-- Fim Botão -->